'use strict';
const pkg = require('../package');

module.exports = appInfo => {
    const config = (exports = {});

    config.cluster = {
        listen: {
            path: '',
            hostname: pkg.server.host,
            port: pkg.server.port,
        },
    };

    // use for cookie sign key, should change to your own and keep security
    config.keys = appInfo.name + '_1542651176322_765';

    // add your config here
    config.middleware = ['nuxtRender'];

    return config;
};
